package com.adv.ems.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("`t_collect_point`")
public class CollectPointDO extends BaseDO{
    @TableId(value = "`id`", type = IdType.AUTO)
    private java.lang.Long id;
    @TableField(value = "`function_code`")
    private java.lang.String functionCode;
    @TableField(value = "`gateway_id`")
    private java.lang.Long gatewayId;
    @TableField(value = "`meter_id`")
    private java.lang.Long meterId;
    @TableField(value = "`name`")
    private java.lang.String name;
    @TableField(value = "`code`")
    private java.lang.String code;
    @TableField(value = "`user_code`")
    private java.lang.String userCode;
    @TableField(value = "`data_type`")
    private java.lang.String dataType;
    @TableField(value = "`compute_script`")
    private java.lang.String computeScript;
    @TableField(value = "`min_safe_value`")
    private java.lang.Double minSafeValue;
    @TableField(value = "`max_safe_value`")
    private java.lang.Double maxSafeValue;
    @TableField(value = "`max_value`")
    private java.lang.Double maxValue;
    @TableField(value = "`last_upload_time`")
    private java.util.Date lastUploadTime;
    @TableField(value = "`last_upload_real_value`")
    private java.lang.Double lastUploadRealValue;
    @TableField(value = "`virtual`")
    private java.lang.String virtual;
    @TableField(value = "`state`")
    private java.lang.String state;
    @TableField(value = "`type`")
    private java.lang.String type;
    @TableField(value = "`create_time`")
    private java.util.Date createTime;
    @TableField(value = "`ext`")
    private java.lang.String ext;
    @TableField(value = "`update_time`")
    private java.util.Date updateTime;
}